package com.feri.rbacsys.entity.finance;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (DataBusinessType)表实体类
 *
 * @author makejava
 * @since 2023-03-28 08:28:02
 */
@SuppressWarnings("serial")
@Data
@TableName("t_data_business_type")
@NoArgsConstructor
@AllArgsConstructor
public class DataBusinessType extends Model<DataBusinessType> {
    //名称id
    private Integer id;
    //名称
    private String name;
    //状态(0.启用 1.禁用)
    private Integer status;
    //备注
    private String remarks;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
    }

